
<?php

mysql_connect('localhost','root','') or die(mysql_error());

mysql_select_db('mb120')or die(mysql_error());


$query = "DELETE FROM `countries`
          WHERE `id`=2";

mysql_query($query) or die(mysql_error());

$affected_rows = mysql_affected_rows();


echo "$affected_rows rows deleted \n\n";





